package com.medical.doctor.service;

import java.util.List;

import com.medical.doctor.domain.Drug;
import com.medical.doctor.domain.PreAndDiagnostic;
import com.medical.doctor.vo.ReceiveVo;
import com.medical.doctor.domain.ReceivePatients;

/**
 * 接诊Service接口
 *
 * @author medical
 * @date 2024-07-21
 */
public interface IReceivePatientsService
{
    /**
     * 查询接诊
     *
     * @param id 接诊主键
     * @return 接诊
     */
    public ReceivePatients selectReceivePatientsById(Long id);

    /**
     * 查询接诊列表
     *
     * @param receivePatients 接诊
     * @return 接诊集合
     */
    public List<ReceiveVo> selectReceivePatientsList(ReceivePatients receivePatients);

    /**
     * 新增接诊
     *
     * @param receivePatients 接诊
     * @return 结果
     */
    public int insertReceivePatients(ReceivePatients receivePatients);

    /**
     * 修改接诊
     *
     * @param receivePatients 接诊
     * @return 结果
     */
    public int updateReceivePatients(ReceivePatients receivePatients);

    /**
     * 批量删除接诊
     *
     * @param ids 需要删除的接诊主键集合
     * @return 结果
     */
    public int deleteReceivePatientsByIds(Long[] ids);

    /**
     * 删除接诊信息
     *
     * @param id 接诊主键
     * @return 结果
     */
    public int deleteReceivePatientsById(Long id);

    int updateDoctorStatus(Integer status);

    List<Drug> selectDrugList(String drugName);

    Long perscriptionAdd(PreAndDiagnostic preAndDiagnostic);

    Long selectPatientsById(Long id);
}
